home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / introduction / 458 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: ra.nrl.navy.mil!usenet
  2. From: jung@osse.nrl.navy.mil (Greg Jung)
  3. Newsgroups: comp.sys.amiga.introduction
  4. Subject: Re: ** Need a better way to use 'WhereIs' **
  5. Date: 14 Mar 1996 18:29:16 GMT
  6. Organization: U.S.R.A/NRL
  7. Message-ID: <4i9ohs$6f6@ra.nrl.navy.mil>
  8. References: <4i59k9$7v2@slip.net>
  9. NNTP-Posting-Host: ossep2.nrl.navy.mil
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.99.3
  12.  
  13. In article <4i59k9$7v2@slip.net>, shotgun@slip.net says...
  14. >
  15. >
  16. >Hi,
  17. >
  18. >Recently I decided it would be nice to use the WhereIs command to check for 
  19. >a file's location on ALL the drives, rather then one drive at a time. But when 
  20. >I tried to use the command to go from one drive to the other on its own, it 
  21. >stopped on the frist drive and quit.
  22. >
  23. >Reading another post on here, I got the idea to use the Assign command. Here 
  24. >is what I tried...
  25. >
  26. >Assign WI: DH0:
  27. >Assign WI: DH1: add
  28. >Assign WI: DH2: add
  29. >Assign WI: DH3: add
  30. >Assign WI: DH4: add
  31. >
  32. >..then I typed...
  33. >
  34. >WhereIs WI: *.zip
  35. >
  36. >..when it was done searching DH0: it quit instead of going onto the next 
  37. >drive or doing all drives at the sametime. I figured it would of done one or 
  38. >the other. So is there a better way to have this command hunt for files in ALL 
  39. >the drives (one after the other) or do I need another command altogether?
  40. >
  41. >Thanks,
  42. >
  43. >Michael (shotgun@slip.net)
  44.  
  45.    This is a limitation of the system, the file search utilities, which
  46. hasn't caught up with itself, wrt the enhancements to logical assignments.
  47. A better way? I just found out about whereis today! I suppose you should 
  48. just write a script that'll parse your requested filename and farm it 
  49. out to the disks.  How to get a list of devices associated with a logical?
  50.  
  51. Greg
  52.  
  53.    BTW finding specific files in S:, Libs:, devs:, L:, and c: works
  54. for multiply-assigned logicals, in the important functions (running a program
  55. etc.) but not in the list or dir commands (I can't cite all cases).
  56.  
  57.